// 自动生成模板UmsMemberCollectSubject
package biz

import "github.com/go-kratos/kratos/v2/log"

// umsMemberCollectSubject表 结构体  UmsMemberCollectSubject
type UmsMemberCollectSubject struct {
	Id          *int    `json:"id" form:"id" gorm:"primarykey;comment:id;column:id;size:19;"`                             //id
	SubjectId   *int    `json:"subjectId" form:"subjectId" gorm:"comment:subject_id;column:subject_id;size:19;"`          //subject_id
	SubjectName *string `json:"subjectName" form:"subjectName" gorm:"comment:subject_name;column:subject_name;size:255;"` //subject_name
	SubjectImg  *string `json:"subjectImg" form:"subjectImg" gorm:"comment:subject_img;column:subject_img;size:500;"`     //subject_img
	SubjectUrll *string `json:"subjectUrll" form:"subjectUrll" gorm:"comment:活动url;column:subject_urll;size:500;"`        //活动url
}

// TableName umsMemberCollectSubject表 UmsMemberCollectSubject自定义表名 ums_member_collect_subject
func (UmsMemberCollectSubject) TableName() string {
	return "ums_member_collect_subject"
}

type UmsMemberCollectSubjectRepo interface {
}

type UmsMemberCollectSubjectUsecase struct {
	repo UmsMemberCollectSubjectRepo
	log  *log.Helper
}

func NewUmsMemberCollectSubjectUsecase(repo GreeterRepo, logger log.Logger) *UmsMemberCollectSubjectUsecase {
	return &UmsMemberCollectSubjectUsecase{repo: repo, log: log.NewHelper(logger)}
}
